package cn.car.mapper;

import cn.car.domains.entity.VehicleEntryExitInfoEntity;
import cn.hutool.core.date.DateTime;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleEntryExitInfoMapper {
    VehicleEntryExitInfoEntity queryById(Long id);

    int insert(VehicleEntryExitInfoEntity vehicleEntity);

    VehicleEntryExitInfoEntity queryVehicleByNumber(String vehicleNumber);

    int deleteById(Long id);

    List<VehicleEntryExitInfoEntity> compensateVehicleInfoUploadStatus(@Param("startTime") DateTime startTime,@Param("endTime") DateTime endTime);

    void updateById(VehicleEntryExitInfoEntity updateEntryExitEntity);
}
